import request from '@/utils/request'// 查询公告列表

export function getBannerList(data) {
  return request({
    url: '/banner/list',
    method: 'post',
    data: data
  })
}
// 详情
export function bannerInfo(data) {
    return request({
      url: '/banner/info',
      method: 'post',
      data: data
    })
}
// 修改参数配置
export function updateBanner(data) {
    return request({
      url: '/banner/edit',
      method: 'post',
      data: data
    })
  }

  // 删除
export function delBanner(data) {
    return request({
      url: '/banner/remove',
      method: 'post',
      data: data
    })
  }

  // 添加
  export function addBanner(data) {
    return request({
      url: '/banner/add',
      method: 'post',
      data: data
    })
  }